ia.Feature Class
Contains information about a feature.
Constructor
ia.Feature
    
        - 
                    
                        
data 
Parameters:
- 
                    
                        
dataJSONThe feature data.
 
Item Index
Methods
getChildren
    
        ()
    
    
        
            Object
        
    
    
    
    
    
    
    
    
    Returns an array of data objects that are children of this object.
Returns:
getDataTree
    
        - 
                    
                        
showDates - 
                    
                        
reverseDates - 
                    
                        
dataHash - 
                    
                        
parentId 
Returns an associative array of the form:
["i1"]{id:"i1"; label:"Home"; type:"branch"; children:["i2"; "i3"; "i4"]}
["i2"]{id:"i2"; label:"ia.Indicator 1"; type:"branch"; parent:"i1"; children:["i5"; "i6"; "i7"]}
["i5"]{id:"i5~2004"; label:"2004"; type:"leaf"; parent:"i2"}
Used by data explorers. Dates are returned as part of the tree.
Parameters:
- 
                    
                        
showDatesBooleanShould the dates be displayed.
 - 
                    
                        
reverseDatesBooleanShould the dates be reversed.
 - 
                    
                        
dataHashAssociative ArrayAn associative array as described.
 - 
                    
                        
parentIdStringThe parent id.
 
getFilterValue
    
        - 
                    
                        
id 
Returns the filter value that corresponds to the filter id.
Parameters:
- 
                    
                        
idStringThe filter id.
 
Returns:
getProperties
    
        ()
    
    
        
            Associative Array
        
    
    
    
    
    
    
    
    
    Returns the custom properties. An associative array of the form: [propName] = propValue.
Returns:
getProperty
    
        - 
                    
                        
propName 
Returns a value for a custom property.
Parameters:
- 
                    
                        
propNameStringThe name of the property.
 
Returns:
Properties
customColumns
    Object} Array of columns.
    
    
    
    
    
    The custom columns that can be used in the data table.
data
    JSON
    
    
    
    
    
    The raw json data describing the object.
fileName
    String
    
    
    
    
    
    The file name.
hasData
    Boolean
    
    
    
    
    
    Indicates if this object contains data.
Default: true
href
    String
    
    
    
    
    
    The href.
id
    String
    
    
    
    
    
    The id.
name
    String
    
    
    
    
    
    The name.
parent
    Object
    
    
    
    
    
    The parent object.
precision
    Number
    
    
    
    
    
    The precision. Inherited from parent if undefined.
type
    Number
    
    
    
    
    
    The data type. Inherited from parent if undefined.
Default: "categoric"